@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("contract").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r">
</div>
<div class="mian_top_l">
</div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('/Lzk/Contract') }}"><p>企业合同</p></a></li>
<li><a href="{{ url('/Lzk/PersonContract') }}"><p>人事合同</p></a></li>
</ul>
</div>
<div class="mian_b">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td width="5%" class="mian_b_bg_lm">&nbsp;

</td>
<td colspan="3" class="mian_b_bg_lm">
合同查看
</td>
</tr>
<tr>
<td>&nbsp;

</td>
<td colspan="4" align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

<tr>
<td width="73" align="right" valign="top">
签约人：
</td>
<td valign="top">
{{$res['PName']}}
</td>
</tr>

<tr>
<td width="73" align="right" valign="top">
签约合同：
</td>
<td valign="top">
{{$res['ConName']}}
</td>
</tr>

<tr>
<td width="73" align="right" valign="top">
合同生效日：
</td>
<td valign="top">
{{$res['EffectiveDate']}}
</td>
</tr>

<tr>
<td width="73" align="right" valign="top">
合同终止日：
</td>
<td valign="top">
{{$res['ExpirationDate']}}
</td>
</tr>

<tr>
<td width="73" align="right" valign="top">
合同签订日：
</td>
<td valign="top">
{{date('Y-m-d H:i:s',$res['Date'])}}
</td>
</tr>

<tr>
<td width="73" align="right" valign="top">
合同状态：
</td>
<td valign="top">
{{str_replace([1,2],['到期终止','正常状态'],$res['State'])}}
</td>
</tr>




</table>
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>


<td>
<div align="center">
<img src="/public/images/bnt_05.gif" alt="" width="80" height="22" onclick="javascript:window.history.go(-1);">
</div>
</td>


<td>&nbsp;
</td>
</tr>
</table>
</div>
</div>
</body>
@endsection
